<?php
/**
 * @author Stephan Schmidt <stephan.schmidt@schlund.de>
 */
interface ValueConverter
{
    /**
     * converts the given values into the given types
     *
     * @param   array  $values  list of values to convert
     * @return  mixed  the converted value
     * @throws  ValueConversionException
     */
    public function convertValue(Tag $tag, Definition $def);

    /**
     * returns the type of the converter
     *
     * @return  string
     */
    public function getType();
}
?>